package com.qth.valet.service.impl;

import com.qth.valet.entity.po.DriverBalanceDetail;
import com.qth.valet.entity.vo.IncomesVo;
import com.qth.valet.mapper.DriverBalanceDetailMapper;
import com.qth.valet.service.DriverBalanceDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * @author 蔡徐坤
 * @since 2025-09-15
 */
@Service
public class DriverBalanceDetailServiceImpl extends ServiceImpl<DriverBalanceDetailMapper, DriverBalanceDetail> implements DriverBalanceDetailService {

    @Override
    public IncomesVo getDriverIncomes(Integer driverId) {
        return this.getBaseMapper().getDriverIncomes(driverId);
    }
}
